package com.example.pay_service.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @title: Order
 * @projectName mall
 * @description: TODO
 * @author TLJ
 * @date 2021/12/815:47
 */

@ApiModel
public class Order {
    @ApiModelProperty("订单Id")
    private String orderId;  //订单Id
    @ApiModelProperty("商品名称")
    private String shopName; //商品名称
    @ApiModelProperty("商品价格")
    private Double shopPrice; //商品价格
    @ApiModelProperty("下单时间")
    private String orderTime;  //下单时间
    @ApiModelProperty("商品描述")
    private String orderDesc;  //商品描述
    @ApiModelProperty("收货地址")
    private String addr; //收货地址
    @ApiModelProperty("支付方式")
    private int pay;//支付方式

    public int getPay() {
        return pay;
    }

    public void setPay(int pay) {
        this.pay = pay;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getOrderId() {
        return orderId;
    }
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public String getShopName() {
        return shopName;
    }
    public void setShopName(String shopName) {
        this.shopName = shopName;
    }
    public Double getShopPrice() {
        return shopPrice;
    }
    public void setShopPrice(Double shopPrice) {
        this.shopPrice = shopPrice;
    }
    public String getOrderTime() {
        return orderTime;
    }
    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }
    public String getOrderDesc() {
        return orderDesc;
    }
    public void setOrderDesc(String orderDesc) {
        this.orderDesc = orderDesc;
    }
    @Override
    public String toString() {
        return "Order [orderId=" + orderId + ", shopName=" + shopName + ", shopPrice=" + shopPrice + ", orderTime="
                + orderTime + ", orderDesc=" + orderDesc + "]";
    }

}
